package com.wgchao.authmanager.infrastructure.exception;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName: ObjectNotLegalException
 * @author: wgchao
 * @createTime: 2020/4/28 5:11 PM
 * @Description: 不合法
 */
@Data
@NoArgsConstructor
public class ObjectNotLegalException extends RuntimeException{
    private String code = "1099";

    public ObjectNotLegalException(String message) {
        super(message);
    }
}
